<template>
  <IBizPanelContainer v-bind="{ ...$props, ...$attrs }" :class="ns.b()">
    <slot></slot>
  </IBizPanelContainer>
</template>

<script setup lang="ts">
import { useNamespace } from '@/use'
import { IPanelContainer } from '@ibiz/model-core'
import { PanelContainerController } from '../panel-container/i-biz-panel-container.controller'

const props = defineProps({
  modelData: {
    type: Object as PropType<IPanelContainer>,
    required: true,
  },
  controller: {
    type: PanelContainerController,
    required: true,
  },
})

const ns = useNamespace('panel-container-tabs')
</script>
<style lang="scss">
@import './i-biz-panel-container-tabs';
</style>
